package com.ruoyi.mobile.model.bo.huawei;

import java.util.List;

public class HealthBo {


    private List<GroupBean> group;

    public List<GroupBean> getGroup() {
        return group;
    }

    public void setGroup(List<GroupBean> group) {
        this.group = group;
    }

    public static class GroupBean {
        /**
         * startTime : 1661140800888
         * endTime : 1661156312166
         * sampleSet : [{"dataCollectorId":"derived:com.huawei.instantaneous.heart_rate:com.huawei.hwid:merged","samplePoints":[{"startTime":1661155380000000000,"endTime":1661155440000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":82}]},{"startTime":1661155440000000000,"endTime":1661155500000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":62}]},{"startTime":1661155920000000000,"endTime":1661155980000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":63}]},{"startTime":1661155980000000000,"endTime":1661156040000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":59}]}]}]
         */

        private long startTime;
        private long endTime;
        private List<SampleSetBean> sampleSet;

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getEndTime() {
            return endTime;
        }

        public void setEndTime(long endTime) {
            this.endTime = endTime;
        }

        public List<SampleSetBean> getSampleSet() {
            return sampleSet;
        }

        public void setSampleSet(List<SampleSetBean> sampleSet) {
            this.sampleSet = sampleSet;
        }

        public static class SampleSetBean {
            /**
             * dataCollectorId : derived:com.huawei.instantaneous.heart_rate:com.huawei.hwid:merged
             * samplePoints : [{"startTime":1661155380000000000,"endTime":1661155440000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":82}]},{"startTime":1661155440000000000,"endTime":1661155500000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":62}]},{"startTime":1661155920000000000,"endTime":1661155980000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":63}]},{"startTime":1661155980000000000,"endTime":1661156040000000000,"dataTypeName":"com.huawei.instantaneous.heart_rate","originalDataCollectorId":"raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046","value":[{"fieldName":"bpm","floatValue":59}]}]
             */

            private String dataCollectorId;
            private List<SamplePointsBean> samplePoints;

            public String getDataCollectorId() {
                return dataCollectorId;
            }

            public void setDataCollectorId(String dataCollectorId) {
                this.dataCollectorId = dataCollectorId;
            }

            public List<SamplePointsBean> getSamplePoints() {
                return samplePoints;
            }

            public void setSamplePoints(List<SamplePointsBean> samplePoints) {
                this.samplePoints = samplePoints;
            }

            public static class SamplePointsBean {
                /**
                 * startTime : 1661155380000000000
                 * endTime : 1661155440000000000
                 * dataTypeName : com.huawei.instantaneous.heart_rate
                 * originalDataCollectorId : raw:com.huawei.instantaneous.heart_rate:com.huawei.health:HUAWEI:HUAWEI Band 4:1110943046:1110943046
                 * value : [{"fieldName":"bpm","floatValue":82}]
                 */

                private long startTime;
                private long endTime;
                private String dataTypeName;
                private String originalDataCollectorId;
                private List<ValueBean> value;

                public long getStartTime() {
                    return startTime;
                }

                public void setStartTime(long startTime) {
                    this.startTime = startTime;
                }

                public long getEndTime() {
                    return endTime;
                }

                public void setEndTime(long endTime) {
                    this.endTime = endTime;
                }

                public String getDataTypeName() {
                    return dataTypeName;
                }

                public void setDataTypeName(String dataTypeName) {
                    this.dataTypeName = dataTypeName;
                }

                public String getOriginalDataCollectorId() {
                    return originalDataCollectorId;
                }

                public void setOriginalDataCollectorId(String originalDataCollectorId) {
                    this.originalDataCollectorId = originalDataCollectorId;
                }

                public List<ValueBean> getValue() {
                    return value;
                }

                public void setValue(List<ValueBean> value) {
                    this.value = value;
                }

                public static class ValueBean {
                    /**
                     * fieldName : bpm
                     * floatValue : 82
                     */

                    private String fieldName;
                    private Float floatValue;
                    private Integer integerValue;

                    public String getFieldName() {
                        return fieldName;
                    }

                    public void setFieldName(String fieldName) {
                        this.fieldName = fieldName;
                    }

                    public Float getFloatValue() {
                        return floatValue;
                    }

                    public void setFloatValue(Float floatValue) {
                        this.floatValue = floatValue;
                    }

                    public Integer getIntegerValue() {
                        return integerValue;
                    }

                    public void setIntegerValue(Integer integerValue) {
                        this.integerValue = integerValue;
                    }
                }
            }
        }
    }
}
